<div class="novo_medico">

  <div class="titulo">
    Novo Médico
  </div>

  <%= form_tag "criar", :remote => true do %>

    <table class="table_dados">
      <tbody>
        <tr>
          <td class="table_label">
            <label>Nome: </label>
          </td>
          <td class="table_conteudo">
            <%= text_field :medico, :nome %>
            <span id="noiconid_nome" class="noicon" style="display:none"></span>   
          </td>
        </tr>
        <tr>
          <td class="table_erro" colspan="2">
            <div id="erro_nome" class="erro_form"></div>
          </td>
        </tr>
        <tr>
          <td class="table_label">
            <label>Sobrenome: </label>
          </td>
          <td class="table_conteudo">
            <%= text_field :medico, :sobrenome %>
            <span id="noiconid_sobrenome" class="noicon" style="display:none"></span>  
          </td>
        </tr>
        <tr>
          <td class="table_erro" colspan="2">
            <div id="erro_sobrenome" class="erro_form"></div>
          </td>
        </tr>    
        <tr>
          <td class="table_label">
      	    <label>Login: </label>
          </td>
          <td class="table_conteudo">
            <%= text_field :medico, :login %>
      	    <span id="noiconid_login" class="noicon" style="display:none"></span>  
          </td>
        </tr>
        <tr>
          <td class="table_erro" colspan="2">
            <div id="erro_login" class="erro_form"></div>
          </td>
        </tr>    
        <tr>
          <td class="table_label">
            <label>E-mail: </label>
          </td>
          <td class="table_conteudo">
            <%= text_field :medico, :email %>
      	    <span id="noiconid_email" class="noicon" style="display:none"></span>
          </td>
        </tr>
        <tr>
          <td class="table_erro" colspan="2">
            <div id="erro_email" class="erro_form"></div>
          </td>
        </tr>  
        <tr>
          <td class="table_label">
            <label>CRM: </label>
          </td>
          <td class="table_conteudo">
            <%= text_field :medico, :crm %>
      	    <span id="noiconid_crm" class="noicon" style="display:none"></span>
          </td>
        </tr>
        <tr>
          <td class="table_erro" colspan="2">
            <div id="erro_crm" class="erro_form"></div>
          </td>
        </tr>  
        <tr>
          <td class="table_label">
            <label>Estado: </label>
          </td>
          <td class="table_conteudo">
            <%= text_field :medico, :estado %>
      	    <span id="noiconid_estado" class="noicon" style="display:none"></span>
          </td>
        </tr>
        <tr>
          <td class="table_erro" colspan="2">
            <div id="erro_estado" class="erro_form"></div>
          </td>
        </tr>  
        <tr>
          <td class="table_label">
            <label>Cidade: </label>
          </td>
          <td class="table_conteudo">
            <%= text_field :medico, :cidade %>
      	    <span id="noiconid_cidade" class="noicon" style="display:none"></span>
          </td>
        </tr>
        <tr>
          <td class="table_erro" colspan="2">
            <div id="erro_cidade" class="erro_form"></div>
          </td>
        </tr>  
        <tr>
          <td class="table_label">
            <label>Telefone: </label>
          </td>
          <td class="table_conteudo">
            <%= text_field :medico, :telefone %>
      	    <span id="noiconid_telefone" class="noicon" style="display:none"></span>
          </td>
        </tr>
        <tr>
          <td class="table_erro" colspan="2">
            <div id="erro_telefone" class="erro_form"></div>
          </td>
        </tr> 

      </tbody>
    </table>

    <div class="button">
      <%= submit_tag 'CRIAR', :onclick => "loading()" %>
    </div>  
  <% end %>

</div>
